package org.jeecg.modules.pick.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.pick.entity.PickOrderDetail;
import org.jeecg.modules.pick.entity.PickOrderInfo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 理货管理
 * @Author: jeecg-boot
 * @Date: 2024-11-28
 * @Version: V1.0
 */
public interface IPickOrderInfoService extends IService<PickOrderInfo> {

    public void savePickOrder(PickOrderInfo pickOrder, List<PickOrderDetail> pickOrderDetailList);

    /**
     * 添加一对多
     */
    public void saveMain(PickOrderInfo pickOrderInfo, List<PickOrderDetail> pickOrderDetailList);

    /**
     * 修改一对多
     */
    public void updateMain(PickOrderInfo pickOrderInfo, List<PickOrderDetail> pickOrderDetailList);

    /**
     * 删除一对多
     */
    public void delMain(String id);

    /**
     * 批量删除一对多
     */
    public void delBatchMain(Collection<? extends Serializable> idList);

}
